################################################################################
##
## Mod Title:		Update Advanced Visual Confirmation 1.0.x to 1.1.0
## Mod Author:		AmigaLink < webmaster@amigalink.de > (Markus Schmidt) http://www.EssenMitFreude.info
##
################################################################################
##
##  The following sites also contain the latest version of this MOD: 
## 
##  http://www.AmigaLink.de
##  http://www.phpBB.de
##  http://www.phpBBhacks.com
## 
##  Full support for this MOD can be obtained at: 
##
##  http://www.AmigaLink.de
##
################################################################################
##
##  BEFORE ADDING THIS HACK TO YOUR FORUM, please be sure to backup ALL
##  affected files.
##
################################################################################
#
#----------[ PLEASE NOTE ]------------------------------
#
# At least GD library 1.6 with freetype are needed!
# For JPEG are GD 1.8 needed.
# If you have PHP lower than 4.0.6 deactivate the Ellipses.
#
#
#----------[ COPY FILES ]-------------------------------
#
#  Copy / upload the following files to your phpBB root directory.
#  The phpBB root directory is the directory on your server containing index.php
#

admin/admin_captcha_config.php to admin/admin_captcha_config.php
includes/usercp_confirm.php to includes/usercp_confirm.php
language/lang_english/lang_admin_captcha.php to language/lang_english/lang_admin_captcha.php
language/lang_german/lang_admin_captcha.php to language/lang_german/lang_admin_captcha.php
templates/subSilver/admin/admin_captcha_config.tpl to templates/subSilver/admin/admin_captcha_config.tpl

#
#----------[ SQL ]--------------------------------------
#
#  Run the following SQL statement to update your phpBB database.
#  You can use phpMyAdmin or a similar tool to run this update.
#
#  IMPORTANT: If you have changed the table prefix from the default of phpBB2,
#  please be sure to replace phpbb with your prefix BEFORE running this update.
#

INSERT INTO `phpbb_captcha_config` VALUES ('jpeg', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('jpeg_quality', '50');
INSERT INTO `phpbb_captcha_config` VALUES ('font', '0');
INSERT INTO `phpbb_captcha_config` VALUES ('lattice_color', '#FFFFFF');

#
#----------[ OPEN ]-------------------------------------
#

includes/functions.php

#
#----------[ FIND ]-------------------------------------
#

		include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);

#
#----------[ AFTER, ADD ]-------------------------------
#

		include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_captcha.' . $phpEx);

#
#----------[ OPEN ]-------------------------------------
#

language/lang_english/lang_admin.php

#
#----------[ FIND ]-------------------------------------
#

// <!-- BEGIN Advanced Visual Confirmation CAPTCHA -->
$lang['VC_Captcha_Config'] = 'CAPTCHA Config';
$lang['captcha_config_explain'] = 'Here you can determine the appearance of the picture, which indicates the registration code on activated visual confirmation.';
$lang['VC_active'] = 'Visual Confirmation is activ!';
$lang['VC_inactive'] = 'Visual Confirmation is not activ!';
$lang['background_configs'] = 'Background';
$lang['Click_return_captcha_config'] = 'Click %sHere%s to return to CAPTCHA Configuration';

$lang['CAPTCHA_width'] = 'CAPTCHA width';
$lang['CAPTCHA_height'] = 'CAPTCHA height';
$lang['background_color'] = 'Backgroundcolor';
$lang['background_color_explain'] = 'Indication in hexadecimal (eg. #0000FF for blue).';
$lang['pre_letters'] = 'Number of shade letters';
$lang['pre_letters_explain'] = '';
$lang['great_pre_letters'] = 'Shade letter increase';
$lang['great_pre_letters_explain'] = '';
$lang['back_chess'] = 'Chess sample';
$lang['back_chess_explain'] = 'Fill the complete background with 16 rectangles.';
$lang['back_ellipses'] = 'Ellipses';
$lang['back_arcs'] = 'Curved lines';
$lang['back_lines'] = 'Lines';
$lang['back_image'] = 'Background image';
$lang['back_image_explain'] = '(This function is not integrated yet)';
$lang['foreground_lattice'] = 'Foreground lattice';
$lang['foreground_lattice_explain'] = '(width x height)<br />Generate a white lattice over the CAPTCHA';
$lang['gammacorrect'] = 'Contrast correction';
$lang['gammacorrect_explain'] = '(0 = off)<br />NOTE!!! Changes of the value hat direct effect on the legibility of the CAPTCHA!';
// <!-- END Advanced Visual Confirmation CAPTCHA -->

#
#----------[ REPLACE WITH ]-----------------------------
#
# Delete this entrys

#
#----------[ OPEN ]-------------------------------------
#

language/lang_german/lang_admin.php

#
#----------[ FIND ]-------------------------------------
#

// <!-- BEGIN Advanced Visual Confirmation CAPTCHA -->
$lang['VC_Captcha_Config'] = 'CAPTCHA Konfiguration';
$lang['captcha_config_explain'] = 'Hier kannst du das Aussehen des Bildes bestimmen, das bei aktivierter Visuellen Besttigung den Registrierungscode anzeigt.';
$lang['captcha_config_explain'] .= '<br />Bedenke bitte das die Lesbarkeit des Besttigungs-Codes, extrem erschwert oder sogar unmglich werden kann.';
$lang['VC_active'] = 'Visuelle Besttigung ist aktiviert!';
$lang['VC_inactive'] = 'Visuelle Besttigung ist nicht aktiviert!';
$lang['background_configs'] = 'Hintergrund';
$lang['Click_return_captcha_config'] = 'Klick %shier%s um zur CAPTCHA Konfiguartion zurckzukehren';

$lang['CAPTCHA_width'] = 'Breite des CAPTCHA';
$lang['CAPTCHA_height'] = 'Hhe des CAPTCHA';
$lang['background_color'] = 'Hintergrundfarbe';
$lang['background_color_explain'] = 'Angabe in Hexadezimaler schreibweise (z.B. #0000FF fr Blau).';
$lang['pre_letters'] = 'Anzahl der Schattenbuchstaben';
$lang['pre_letters_explain'] = '';
$lang['great_pre_letters'] = 'Schattenbuchstaben vergrern';
$lang['great_pre_letters_explain'] = '';
$lang['back_chess'] = 'Schachmuster';
$lang['back_chess_explain'] = 'Fllt den kompletten Hintergrund mit 16 Vierecken.';
$lang['back_ellipses'] = 'Ovale und Kreise';
$lang['back_arcs'] = 'Gebogene Linien';
$lang['back_lines'] = 'Linien';
$lang['back_image'] = 'Hintergrundbild';
$lang['back_image_explain'] = '(Diese Funktion ist derzeitig noch nicht integriert)';
$lang['foreground_lattice'] = 'Vordergrundgitter';
$lang['foreground_lattice_explain'] = '(breite x hhe)<br />Generiert ein Gitter ber dem CAPTCHA';
$lang['gammacorrect'] = 'Kontrastkorrektur';
$lang['gammacorrect_explain'] = '(0 = aus)<br />ACHTUNG!!! Eine nderungen des Wertes hat direkte auswirkung auf die Lesbarkeit des CAPTCHA!!';
// <!-- END Advanced Visual Confirmation CAPTCHA -->

#
#----------[ REPLACE WITH ]-----------------------------
#
# Delete this entrys

#
#----------[ SAVE AND CLOSE ALL FILES ]-----------------
#
# EoM